package com.jinzhi.jzweb.dao;

import com.jinzhi.common.base.BaseDao;
import com.jinzhi.jzweb.domain.ChapterItemBankDO;
import com.jinzhi.jzweb.pojo.entity.ChapterDocument;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface ChapterDocumentDao extends BaseDao<ChapterDocument> {
    @Update("update chapter_document SET  file_pdf=#{pdf} WHERE id=#{id}")
    int updatePdfById(@Param("id") String id, @Param("pdf") String pdf);
}
